import Vue from 'vue'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import App from './App.vue'
import router from './router'
import store from './store'
import md5 from 'js-md5'
import VueContextMenu from 'vue-contextmenu'


import * as echarts from 'echarts'
import ecStat from 'echarts-stat';

import axios from '@/Utils/MyAxios.js'
import baseUrl from '@/Utils/API.js'

echarts.registerTransform(ecStat.transform.clustering)
Vue.prototype.$echarts = echarts
Vue.prototype.$md5 = md5

Vue.prototype.baseUrl = baseUrl
Vue.prototype.$axios = axios
Vue.use(ElementUI);
Vue.use(VueContextMenu)

Vue.config.productionTip = false
Vue.config.devtools = true;


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
